﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.util {
    import flash.events.*;
    import org.aswing.event.*;

    public class AbstractImpulser extends EventDispatcher implements Impulser {

        protected var delay:uint;
        protected var initialDelay:int;
        protected var repeats:Boolean;
        protected var isInitalFire:Boolean;

        public function AbstractImpulser(_arg1:uint, _arg2:Boolean=true){
            this.delay = _arg1;
            this.initialDelay = 0;
            this.repeats = _arg2;
            this.isInitalFire = true;
        }
        public function addActionListener(_arg1:Function, _arg2:int=0, _arg3:Boolean=false):void{
            addEventListener(AWEvent.ACT, _arg1, false, _arg2, _arg3);
        }
        public function removeActionListener(_arg1:Function):void{
            this.removeEventListener(AWEvent.ACT, _arg1);
        }
        public function setDelay(_arg1:uint):void{
            this.delay = _arg1;
        }
        public function getDelay():uint{
            return (this.delay);
        }
        public function setInitialDelay(_arg1:uint):void{
            this.initialDelay = _arg1;
        }
        public function getInitialDelay():uint{
            if (this.initialDelay == 0){
                return (this.delay);
            };
            return (this.initialDelay);
        }
        public function setRepeats(_arg1:Boolean):void{
            this.repeats = _arg1;
        }
        public function isRepeats():Boolean{
            return (this.repeats);
        }
        public function isRunning():Boolean{
            return (false);
        }
        public function stop():void{
        }
        public function start():void{
        }
        public function restart():void{
        }

    }
}//package org.aswing.util 
